<template>
<div >
      <h2 style="text-align: center">{{pageData.title}}</h2>
      <span style="position:absolute;right: 18%;left: 18%" v-html="pageData.detail"></span>
</div>
</template>

<script>
export default {
      name: "pageDetail",
      data(){
            return{
                  pageData:{
                        id:'',
                        account:'',
                        title:'',
                        detail:'',
                        flag:''
                  },
                  page:[]
            }
      },
      methods:{
            init(){
                  this.pageData = JSON.parse(sessionStorage.getItem('pageSession'))
                  this.page = JSON.parse(sessionStorage.getItem('pageSession'))
                  console.log(this.pageData)
                  console.log(this.page)
            }
      },
      created() {
           this.init()
      }
}
</script>

<style scoped>

</style>